/*** Eclipse Class Decompiler plugin, copyright (c) 2012 Chao Chen (cnfree2000@hotmail.com) ***/
package com.qihoo.gamecenter.sdk.login.plugin.component;

import android.content.Context;
import android.util.AttributeSet;
import android.widget.RelativeLayout;

public class ResizeRelativeLayout extends RelativeLayout {
    private a a;

    public ResizeRelativeLayout(Context paramContext, AttributeSet paramAttributeSet) {
        super(paramContext, paramAttributeSet);
    }

    public ResizeRelativeLayout(Context paramContext) {
        super(paramContext);
    }

    public void setOnResizeListener(a parama) {
        this.a = parama;
    }

    protected void onSizeChanged(int paramInt1, int paramInt2, int paramInt3, int paramInt4) {
        super.onSizeChanged(paramInt1, paramInt2, paramInt3, paramInt4);
        if (this.a == null)
            return;
        this.a.a(paramInt1, paramInt2, paramInt3, paramInt4);
    }

    public static abstract interface a {
        public abstract void a(int paramInt1, int paramInt2, int paramInt3, int paramInt4);
    }
}